clear
set more off

// --------------------------------------------------------
// XML files processed in R --> CSV
// CSV --> DTA here
//    - this requires helper ado files from: https://github.com/jpfergongithub/nlrb-cats
//    - and uses a modified version of his CleanNlrbCsvs.do
// --------------------------------------------------------

do "${nlrb}/CSV_to_DTA.do"

// --------------------------------------------------------
// NLRB - 7799
// --------------------------------------------------------

do "${nlrb}/01_nlrb7799.do" // Observation cleaning
do "${nlrb}/02_nlrb7799.do" // County codes part 1
do "${nlrb}/03_nlrb7799.do" // County codes part 2
do "${nlrb}/04_nlrb7799_originalfiles.do"

// --------------------------------------------------------
// NLRB - 9910
// --------------------------------------------------------

do "${nlrb}/r_closed_clean.do"
do "${nlrb}/01_nlrb9910.do"
do "${nlrb}/02_nlrb9910.do"
	
// --------------------------------------------------------
// NLRB - 7710
// --------------------------------------------------------

	
do "${nlrb}/01_nlrb7710_originalfiles.do"
do "${nlrb}/02_nlrb7710_originalfiles.do"

